package bean;

import java.util.Date;

public class Article {
    private int id;
    private String content;
    private Date publish;
    private int owner;

    public Article() {
    }

    public Article(int id, String content, Date publish, int owner) {
        this.id = id;
        this.content = content;
        this.publish = publish;
        this.owner = owner;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getPublish() {
        return publish;
    }

    public void setPublish(Date publish) {
        this.publish = publish;
    }

    public int getOwner() {
        return owner;
    }

    public void setOwner(int owner) {
        this.owner = owner;
    }
}
